import Vue from 'vue'
import Vuex from 'vuex'
//导入子模块
import app from './modules/app'
//导入getters,类似计算属性
import getters from './getters'
Vue.use(Vuex)

const store = new Vuex.Store({
    modules:{
        app
    },
    getters
})
export default store;